package com.sky.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 地址簿Mapper接口
 */
@Mapper
public interface AddressBookMapper {

    /**
     * 根据ID查询地址
     * @param id 地址ID
     * @return 地址对象
     */
    @Select("select * from address_book where id = #{id}")
    com.sky.entity.AddressBook getById(Long id);
}